package com.chery.media.network.model
import com.chery.media.contacts.MusicType
import com.google.gson.annotations.SerializedName


data class MusicDataBean(
    @SerializedName("current")
    val current: Int?,
    @SerializedName("hitCount")
    val hitCount: Boolean?,
    @SerializedName("optimizeCountSql")
    val optimizeCountSql: Boolean?,
    @SerializedName("orders")
    val orders: List<Any?>?,
    @SerializedName("pages")
    val pages: Int?,
    @SerializedName("records")
    val records: ArrayList<MusicBean>?,
    @SerializedName("searchCount")
    val searchCount: Boolean?,
    @SerializedName("size")
    val size: Int?,
    @SerializedName("total")
    val total: Int?
)

data class MusicBean(
    @SerializedName("author")
    val author: String?,
    @SerializedName("cover")
    val cover: String?,
    @SerializedName("duration")
    val duration: String?,
    @SerializedName("id")
    val id: String?,
    @SerializedName("lyricPath")
    val lyricPath: String?,
    @SerializedName("title")
    var title: String?,
    @SerializedName("playPath")
    var playPath: String?
)

data class MusicPlayBean(
    @SerializedName("currentIndex")
    var currentIndex: Int?,
    @SerializedName("musicAuthor")
    var musicAuthor: String?,
    @SerializedName("musicCover")
    var musicCover: String?,
    @SerializedName("musicLyrics")
    var musicLyrics: String?,
    @SerializedName("musicName")
    var musicName: String?,
    @SerializedName("playPosition")
    var playPosition: String?,
    @SerializedName("totalTime")
    var totalTime: String?,
    @SerializedName("isPlaying")
    var isPlaying: Boolean?
)

data class MusicTypeBean(
    @SerializedName("unSelectResId")
    var unSelectResId: Int?,
    @SerializedName("selectedResId")
    var selectedResId: Int?,
    @SerializedName("name")
    var name: String?,
    @SerializedName("type")
    var type: MusicType?,
)